--------------------------------------------------------
-- Baldy Bignose - A Moosader Compo 8 entry -          -
-- Code by Thomas Young                                -
-- Functions for managing and handling tiles           -
--------------------------------------------------------

--enum like structure for different tile types
TileProperties = {}

TileProperties.isPassive = 0
TileProperties.isSolid = 1
TileProperties.isPain = 2
TileProperties.isWater = 3
TileProperties.isClimable = 4
TileProperties.isSpawnPoint = 5


Tile = {}



function Tile:Init()
	local tile = {
	Property = TileProperties.isPassive,
	X = 0,
	Y = 0
	}
	setmetatable(tile, { __index = Tile})
	return tile
end
